package WORKPLACE;

import java.net.InetAddress;
import java.net.UnknownHostException;
import java.text.SimpleDateFormat;
import java.util.Date;

import TOOLS.fileTool;

public class test005 {

	public static String GetTimestamp(){
    	//"2017-12-10 15:52:10";
    	String timestamp=new String();
    	SimpleDateFormat t = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss SSS");
    	timestamp=""+t.format(new Date());
    	return timestamp;
    }

	static m_orderNo kk;
	public static void main(String[] args) throws Exception {
		String SN="20,277053@split@3001";
		fileTool ft=new fileTool();
		SN=ft.selectTXT("fffname");
		String [] arr=SN.split("\\\\");
		String fName=arr[arr.length-1];
		System.out.println(""+SN);
		System.out.println(""+fName);
	}


}
